package com.ressources;

public class HtmlUtil {

	private String c = "<table>";
	
	
	public void addLine(String content){
		c += "<tr><td>"+content+"</td></tr>"	;
	}
	
	public void addLineGras(String content){
		c += "<tr><td><b>"+content+"</b></td></tr>"	;
	}
	
	public String getTableau(){
		c += "</table>";
		return c;
	}
	
	public void addExplication(String description,String descriptionCalcul,String calcul){
		addLineGras(description);
		addLine(descriptionCalcul);
		addLine(calcul);
		addLine("");
	}
}
